package com.ruoyi.modularbusiness.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 表单类型对象 formtype
 *
 * @author 刘振
 * @date 2023-01-05
 */
public class Formtype extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long ftid;

    /**
     * 类型名称
     */
    @Excel(name = "类型名称")
    private String name;

    /**
     * 表单类型简称
     */
    @Excel(name = "表单类型简称")
    private String abbreviated;

    /**
     * 显示顺序
     */
    @Excel(name = "显示顺序")
    private String sort;

    /**
     * 类型标识
     */
    @Excel(name = "类型标识")
    private String identify;

    /**
     * 部门ID
     */
    @Excel(name = "部门ID")
    private String deptId;

    /**
     * 表单类型模板地址
     */
    @Excel(name = "表单类型模板地址")
    private String templateUrl;

    /**
     * 是否删除
     */
    private String delFlag;

    /**
     * 预留字段一
     */
    @Excel(name = "预留字段一")
    private String reserved1;

    /**
     * 预留字段二
     */
    @Excel(name = "预留字段二")
    private String reserved2;

    /**
     * 预留字段三
     */
    @Excel(name = "预留字段三")
    private String reserved3;

    @Excel(name = "二级表")
    private int secondary_type;

    @Excel(name = "是否必须审核")
    private String aubittf;

    private String postid;

    //    查询用
    // 表单ID
    private int frid;

    //  表单状态
    private String STATES;

    //    权限标识
    private String authid;

    public String getPostid() {
        return postid;
    }

    public void setPostid(String postid) {
        this.postid = postid;
    }

    public void setAubittf(String aubittf) {
        this.aubittf = aubittf;
    }

    public String getAubittf() {
        return aubittf;
    }

    public void setAuthid(String authid) {
        this.authid = authid;
    }

    public String getAuthid() {
        return authid;
    }

    public void setSecondary_type(int secondary_type) {
        this.secondary_type = secondary_type;
    }

    public int getSecondary_type() {
        return secondary_type;
    }

    public void setFtid(Long ftid) {
        this.ftid = ftid;
    }

    public Long getFtid() {
        return ftid;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setAbbreviated(String abbreviated) {
        this.abbreviated = abbreviated;
    }

    public String getAbbreviated() {
        return abbreviated;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getSort() {
        return sort;
    }

    public void setIdentify(String identify) {
        this.identify = identify;
    }

    public String getIdentify() {
        return identify;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setTemplateUrl(String templateUrl) {
        this.templateUrl = templateUrl;
    }

    public String getTemplateUrl() {
        return templateUrl;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setReserved1(String reserved1) {
        this.reserved1 = reserved1;
    }

    public String getReserved1() {
        return reserved1;
    }

    public void setReserved2(String reserved2) {
        this.reserved2 = reserved2;
    }

    public String getReserved2() {
        return reserved2;
    }

    public void setReserved3(String reserved3) {
        this.reserved3 = reserved3;
    }

    public String getReserved3() {
        return reserved3;
    }

    public int getFrid() {
        return frid;
    }

    public String getSTATES() {
        return STATES;
    }

    public void setFrid(int frid) {
        this.frid = frid;
    }

    public void setSTATES(String STATES) {
        this.STATES = STATES;
    }

    @Override
    public String toString() {
        return "Formtype{" +
                "ftid=" + ftid +
                ", name='" + name + '\'' +
                ", abbreviated='" + abbreviated + '\'' +
                ", sort='" + sort + '\'' +
                ", identify='" + identify + '\'' +
                ", deptId='" + deptId + '\'' +
                ", templateUrl='" + templateUrl + '\'' +
                ", delFlag='" + delFlag + '\'' +
                ", reserved1='" + reserved1 + '\'' +
                ", reserved2='" + reserved2 + '\'' +
                ", reserved3='" + reserved3 + '\'' +
                ", secondary_type=" + secondary_type +
                ", aubittf='" + aubittf + '\'' +
                ", postid='" + postid + '\'' +
                ", frid=" + frid +
                ", STATES='" + STATES + '\'' +
                ", authid='" + authid + '\'' +
                '}';
    }
}
